package com.shujia.common_util.two;

import org.junit.Test;

public class SingtonTest {

    @Test
    public void test1() {
        Sington1 instance = Sington1.getInstance();
        Sington1 instance1 = Sington1.getInstance();

        System.out.println(instance);
        System.out.println(instance1);
    }

    public static void main(String[] args) {
        Sington instance = Sington.getInstance();
        Sington instance1 = Sington.getInstance();

        System.out.println(instance);
        System.out.println(instance1);
    }
}
